line=`git status | tail -n 1`
if [[ $line == 'nothing to commit, working tree clean' ]]; then
  echo "nothing change"
  exit 0
fi
git add ./
git commit -a -m "edit"
git pull --rebase
git push
